import fs from 'fs'
import path from 'path'
export default function (req, res, next) {
  // req is the Node.js http request object

  //fs.writeFileSync(path.resolve(__dirname, 'readxx.js'), 'testtesttest')
  //console.log('fsfsfs')
  // res is the Node.js http response object

  // next is a function to call to invoke the next middleware
  // Don't forget to call next at the end if your middleware is not an endpoint!
  next()
}
